package com.kingsoft.dc.khaos.module.spark.metadata.preprocess.specific.quality

/**
  * @author liuyg
  * @date 2019/7/28 18:29
  *
  */
case class BussinessCheckResponse(status: String = null,
                                  message: String = null,
                                  result: List[RuleConfigurePublishPo] = List()) {
}

case class RuleConfigurePublishPo(id: String = null,
                                  ruleName: String = null,
                                  checkType: String = null,
                                  operatorFilter: String = null,
                                  alarmMin: String = null,
                                  alarmType: String = null,
                                  ruleStrength: String = null,
                                  alarmMax: String = null,
                                  alarmPerson: String = null,
                                  dataSourceId: String = null,
                                  dbName: String = null,
                                  tableName: String = null,
                                  columnName: String = null,
                                  operatorName: String = null,
                                  dataDetailedNum: String = null,
                                  version: String = null,
                                  designId: String = null,
                                  publishStatus: String = null,
                                  relationField: String = null) {}

case class OperatorFilter(condition: Option[String] = null,
                          function: Option[String] = null,
                          expressions: List[String] = List[String]()) {

}

